package com.zkingsoft.codeApi;


public class StringToEnumConverter {

  public static ModelType convertToModelType(String source) {
    String value = source.trim();
    if ("".equals(value)) {
      return null;
    }
    return ModelType.get(source);
	  }
}